package com.example.product.dubbo;

public class LocalRegister {

    private static final java.util.Map<String, Class> map = new java.util.HashMap<>();

    public static void register(String interfaceName, Class implClass)
    {
        map.put(interfaceName, implClass);
        System.out.println(map);
    }

    public static Class get(String interfaceName)
    {
        return map.get(interfaceName);
    }

}
